﻿using System;
using Hadlow.Jobvertizer.Models;

namespace Hadlow.Jobvertizer.Tests.Common
{
    public static class TestUtils
    {
        public static JobSearchCriteria CreateCriteria(string keywords, Poster poster, Location location, Salary salary)
        {
            JobSearchCriteria criteria = new JobSearchCriteria();
            criteria.Keywords = keywords;
            criteria.Poster = poster;
            criteria.Location = location;
            criteria.Salary = salary;
            return criteria;
        }
    }
}
